package cloud.ben.smallscalepigfarmmanagementsystem.service.sow;

import cloud.ben.smallscalepigfarmmanagementsystem.entity.sow.SowMatingInformation;
import cloud.ben.smallscalepigfarmmanagementsystem.utils.RespBean;

/**
 * @Author: Ben
 * @Date: 2022/4/2 14:59
 */
public interface ISowMatingInformationService {


    /**
     * 增加母猪配种信息
     * @param sowMatingInformation
     * @return RespBean
     */
    RespBean insertSowMatingInformation(SowMatingInformation sowMatingInformation);

    /**
     *根据id删除母猪配种信息
     * @param id
     * @return RespBean
     */
    RespBean deleteSowMatingInformation(Integer id);

    /**
     * 修改母猪配种信息
     * @param sowMatingInformation
     * @return RespBean
     */
    RespBean updateSowMatingInformation(SowMatingInformation sowMatingInformation);

    /**
     * 分页查询母猪配种信息
     * @param pageNumber
     * @param pageSize
     * @return RespBean
     */
    RespBean selectSowMatingInformationByPage(Integer pageNumber,Integer pageSize);



    /**
     *查询母猪配种信息数量（方便分页）
     * @return RespBean
     */
    RespBean selectSowMatingInformationNum();

}
